package org.lg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

public class Team {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String teamId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String teamName;

    public Team() {
    }

    public Team(String teamId) {
        this.teamId = teamId;
    }

    public Team(String teamId, String teamName) {
        this.teamId = teamId;
        this.teamName = teamName;
    }

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    @Override
    public String toString() {
        return "Team{" +
                "teamId='" + teamId + '\'' +
                ", teamName='" + teamName + '\'' +
                '}';
    }
}
